In [2]:
from ipywidgets import interact, interactive, fixed, interact_manual
import ipywidgets as widgets
from gtts import gTTS
import matplotlib
import numpy 
from traitlets.config.manager import BaseJSONConfigManager
path = "/Users/scot/anaconda3/envs/py36/etc/jupyter/nbconfig"
cm = BaseJSONConfigManager(config_dir=path)
cm.update("livereveal", {"autolaunch": True,
                         "theme": "sky",
                        } 
)



#Supress default INFO logging
# The UT Dallas Art Science Lab Training module 
print ('The UTDallas ArtSci Lab Sonification "Panned Pulse" Exploration Module.')
print("\n")
print("Here are the instructions for those unfamiliar with these sonification training modules" )
print("\n Basic Instructions for each cell :")
print('1. Press "Shift + Enter" at every new cell to initiate display/execute that cell')
print("2. Hit the Space Bar to go to next section (cell)")
print("\n")
print("These are the two main actions that you need to move forward, cell by cell in each unit")
print("This is how this system functions")
print("Do these now")


The UTDallas ArtSci Lab Sonification "Panned Pulse" Exploration Module.


Here are the instructions for those unfamiliar with these sonification training modules

 Basic Instructions for each cell :
1. Press "Shift + Enter" at every new cell to initiate display/execute that cell
2. Hit the Space Bar to go to next section (cell)


These are the two main actions that you need to move forward, cell by cell in each unit
This is how this system functions
Do these now

As Before, Please put on your best headphones on and Set your system Volume to 50%.

This is a simple sonification !

Use Space Bar or arrows at bottom right to navigate to next section


In [3]:
%run ./dep/scripts/pan.py
print("Use the Slider to set a Value and Click the Sonify Me Button to listen. Try to explore and listen to the variation of as many values in the range. Proceed to the next section when you think you are ready.")
interact (f, percentage=(0,100,1))

button = widgets.Button(description="Sonify Me!")
display(button)
button.on_click(on_button_clicked)


Use the Slider to set a Value and Click the Sonify Me Button to listen. Try to explore and listen to the variation of as many values in the range. Proceed to the next section when you think you are ready.

Time to move onto the Testing Module

Now that you have explored this straight forward sound representation, it is time to move on to the next phase of seeing how well you get this sonification. Go back to the list of available notebooks and select "Panned Pulse Testing Module"


In [ ]: